package com.ccBatis.io;

import java.io.InputStream;

/**
 * @author xiaozhao
 */
public class Resources {

    /**
     * 1.根据配置文件路径，加载配置文件
     * @param path
     * @return
     */
    public static InputStream getResourceAsStream(String path){
        return Resources.class.getClassLoader().getResourceAsStream(path);
    }
}
